package com.example.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;


@Data
public class Provider implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    private String procode;

    private String proname;

    private String prodesc;

    private String procontact;

    private String prophone;

    private String proaddress;

    private String proemail;

    @TableField(fill = FieldFill.INSERT)
    private Long createdby;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Long modifyby;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime creationdate;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime modifydate;

    public  Provider(Long id, String proname) {
        this.id = id;
        this.proname = proname;
    }

}
